{include file="../Common/header.html"}
	<link rel="stylesheet" href="./Public/Home/Css/member.css" />
	<link rel="stylesheet" href="./Public/Home/Css/face.css">
	{js file="./Public/Home/Js/uploadPreview.min.js"}
{include file="../Common/nav.html"}
<!--中部-->
	<div id='center'>
{include file="../Common/memberLeft.html"}
		<div id='right'>
			<p class='title'>头像上传</p>
			<ul class='ask-filter'>
			</ul>
			<div class='imgface_box'>
				<div id="imgdiv"><img src="./Public/Home/Images/profile_avatar.jpg" id="preview"></div>
				<form action="" method="POST" enctype="multipart/form-data">
					<input type="file" name="face" id="face" >
					<input type="submit" value="上传头像" id="sub">
				</form>
				<p>支持JPG、PNG、GIF图片类型，不能大于5M。推荐尺寸：180PX*180PX</p>
			</div>

		</div>
	</div>

{literal}
<script>
	$(function(){
		//上传图片预览
		new uploadPreview({ UpBtn: "face", DivShow: "imgdiv", ImgShow: "preview" });
/*		$('#face').change(function(event) {

		});*/

	});

</script>
{/literal}
{include file="../Common/footer.html"}